//
//  CAnAlgRltExerData.h
//  CareRing
//
//  Created by  on 2024/10/12.
//  Real-time data reporting during exercise requires a separate command to enable

#import <Foundation/Foundation.h>
#import "CAnAlgExerData.h"

NS_ASSUME_NONNULL_BEGIN

@interface CAnAlgRltExerData : NSObject
@property(assign, nonatomic, readonly)uint8_t cmdByte;

@property(assign, nonatomic, readonly)float distance;//The sum of total walking distance and total running distance, unit:km 锻炼距离累计值
@property(assign, nonatomic, readonly)uint16_t steps;// Cumulative steps since the start of exercise

@property(assign, nonatomic, readonly)uint8_t speed; // uint:dm/s

@property(assign, nonatomic, readonly)uint16_t wholeEnergyCnsmptn;// Total energy consumption at the start of exercise, including basal metabolic rate, unit: Kcal
@property(assign, nonatomic, readonly)uint16_t activityEnergyCnsmptn;// Total cumulative activity energy expenditure since the start of exercise, excluding basal metabolic rate, unit: Kcal

@property(assign, nonatomic, readonly)uint8_t cadence; //Cadence, exercise cadence, unit: steps/min

@property(assign, nonatomic, readonly)float met; // Current energy consumption,Unit: MET

@property(assign, nonatomic, readonly)NALG_EXERCISE_TYPE exerType;

@property(assign, nonatomic, readonly)uint8_t heartRate;

@property(strong, nonatomic, readonly)NSNumber *caco;//Cardiac coherence value, float. range in 0.0-1.0

- (instancetype)initWithData:(NSData *)data;
@end

NS_ASSUME_NONNULL_END
